@echo off
:: *** [NOTE] default password is 'p'
:: ------------------------
:: @ set path to flexsdk bin ex: c:\flexsdk\bin\
set flexpath=
:: settings
set certificate=jsfxgen.pfx
set air_file=air/jsfxgen.air
set app_xml=bin/jsfxgen-app.xml
set sign_opt=-storetype pkcs12 -keystore %certificate%
set contents=-C bin .
:: package
echo *** creating air package (air/jsfxgen.air)
echo *** password is 'p'
call %flexpath%adt -package %sign_opt% %air_file% %app_xml% %contents%
:: done
echo.
echo *** done!
ping -n 1 -w 2000 0.0.0.1 > nul
